<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html>
<!-- saved from url=(0041)http://192.168.0.77/pms/edit_contact.html -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body class="body">
	<jsp:include page="include/head.jsp">
		<jsp:param value="${ep}" name="ep"/>
	</jsp:include>
	
	<div class="container">
	  <div class="row">
	  <div class="span3">
			<div style="padding: 8px 0;" class="well">
				<jsp:include page="include/nav.jsp">
					<jsp:param value="${ep}" name="ep"/>
				</jsp:include>
			</div>
		</div>
		<div class="span9">
			<form class="form-horizontal" action="contact.jspx" method="post">
			<input type="hidden" name = "_m" value="editContact">
	        <fieldset>
	          <legend>编辑新联系人</legend>
	          <input type="hidden" name="id" value="${contact.id}">
	          <div class="control-group">
	            <label class="control-label" for="input01">姓名</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="name" value="${contact.name }">
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">公司</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="companyname" value="${contact.companyname }">
	            </div>
	          </div>
			  <div class="line"></div>
			   <div class="control-group">
	            <label class="control-label" for="input01">手机</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="mobile" value="${contact.mobile }">
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">固话</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="tel" value="${contact.tel }">
	            </div>
	          </div>
			  <div class="control-group">
	            <label class="control-label" for="input01">邮箱</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="email" value="${contact.email }">
	            </div>
	          </div>
			   <div class="line"></div>
			  <div class="control-group">
	            <label class="control-label" for="input01">地址</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  name="address" value="${contact.address }">
	            </div>
	          </div>
			   <div class="line"></div>
			   <div class="control-group">
	            <label class="control-label" for="input01">主页</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" name="website" value="${contact.website }">
				  <p class="help-block">http://www.xxx.com</p>
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">微博</label>
	            <div class="controls">
					<select class="span2" name="weibo_pre">
						<option value="http://weibo.com/">新浪微博</option>
						<option value="http://t.qq.com/">腾讯微博</option>
						<option value="http://twitter.com/">Twitter</option>
					</select>
					<div class="input-prepend">
						<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text"  name="weibo_last" >
	                </div>
					
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">简介</label>
	            <div class="controls">
	              <textarea class="span5" rows="6" name="content" >${contact.content}</textarea>
	            </div>
	          </div>
			  
			  
	
	          <div class="form-actions">
	            <button type="submit" class="btn btn-primary">保存</button>
	            <a class="btn" href="contact.jspx">返回</a>
	          </div>
	        </fieldset>
      	</form>      	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>

</body></html>
